package cn.tedu.application.pojo.vo;

import com.fasterxml.jackson.annotation.JsonFormat;
import io.swagger.annotations.ApiModelProperty;
import lombok.AccessLevel;
import lombok.Data;
import lombok.experimental.FieldDefaults;

import java.util.Date;

@Data
@FieldDefaults(level = AccessLevel.PRIVATE)
public class ApplicationVO {
    @ApiModelProperty(value = "申请人id")
    Long userId;
    @ApiModelProperty(value = "申请人姓名")
    String userName;
    @ApiModelProperty(value = "流程类型")
    String type;
    @ApiModelProperty(value = "当前审批人id")
    Long auditUserId;
    @ApiModelProperty(value = "当前审批人姓名")
    String auditUserName;
    @ApiModelProperty(value = "当前审批状态")
    String status;
    @ApiModelProperty(value = "申请时间")
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8")
    Date createTime;
    @ApiModelProperty(value = "所属部门")
    String department;
}
